<template>
    <the-menu :menus="menus"></the-menu>
    <router-view></router-view>
</template>
<script setup>
import { getMenuByRouter } from "@/utils/menu";
import { TheMenu } from "@/components";
import routes from "@/config/router.config";
const menus = getMenuByRouter(routes);
</script>
